compress/flate.compressor.tokens (field)
31 uses
compress/flate (current package)
deflate.go#L111: tokens []token
deflate.go#L356: d.tokens = d.bestSpeed.encode(d.tokens[:0], d.window[:d.windowEnd])
deflate.go#L359: if len(d.tokens) > d.windowEnd-(d.windowEnd>>4) {
deflate.go#L362: d.w.writeBlockDynamic(d.tokens, false, d.window[:d.windowEnd])
deflate.go#L371: d.tokens = make([]token, 0, maxFlateBlockTokens+1)
deflate.go#L404: d.tokens = append(d.tokens, literalToken(uint32(d.window[d.index-1])))
deflate.go#L407: if len(d.tokens) > 0 {
deflate.go#L408: if d.err = d.writeBlock(d.tokens, d.index); d.err != nil {
deflate.go#L411: d.tokens = d.tokens[:0]
deflate.go#L446: d.tokens = append(d.tokens, matchToken(uint32(d.length-baseMatchLength), uint32(d.offset-baseMatchOffset)))
deflate.go#L448: d.tokens = append(d.tokens, matchToken(uint32(prevLength-baseMatchLength), uint32(prevOffset-baseMatchOffset)))
deflate.go#L484: if len(d.tokens) == maxFlateBlockTokens {
deflate.go#L486: if d.err = d.writeBlock(d.tokens, d.index); d.err != nil {
deflate.go#L489: d.tokens = d.tokens[:0]
deflate.go#L497: d.tokens = append(d.tokens, literalToken(uint32(d.window[i])))
deflate.go#L498: if len(d.tokens) == maxFlateBlockTokens {
deflate.go#L499: if d.err = d.writeBlock(d.tokens, i+1); d.err != nil {
deflate.go#L502: d.tokens = d.tokens[:0]
deflate.go#L586: d.tokens = make([]token, maxStoreBlockSize)
deflate.go#L610: d.tokens = d.tokens[:0]
deflate.go#L623: d.tokens = d.tokens[:0]
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |